package com.kws.merchant.service.impl;


import com.kws.merchant.domain.MerchantTarget;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kws.merchant.domain.Target;
import com.kws.merchant.mapper.MerchantTargetMapper;
import com.kws.merchant.service.MerchantTargetService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;

import java.util.List;

/**
 * (MerchantTarget)表服务实现类
 *
 * @author yxy
 * @since 2024-11-04 11:39:01
 */
@Service("merchantTargetService")
public class MerchantTargetServiceImpl extends ServiceImpl<MerchantTargetMapper, MerchantTarget> implements MerchantTargetService {

    @Resource
    private MerchantTargetMapper merchantTargetMapper;


    /**
     * 分页查询列表
     */
    @Override
    public Page<MerchantTarget> pageList(MerchantTarget merchantTarget) {
        Page<MerchantTarget> page = new Page<>(0, 10);
        LambdaQueryWrapper<MerchantTarget> queryWrapper = Wrappers.lambdaQuery();

        return this.page(page, queryWrapper);
    }


}
